﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="companyPartner.aspx.cs" Inherits="WebSite.admin.company.companyPartner" %>

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>阳澄湖牌后台管理 </title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="maincontent">

<asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4" 
        ForeColor="#333333" DataKeyNames="id" AutoGenerateColumns="False" 
        AllowPaging="True" pagesize="30" BorderStyle="Solid" BorderWidth="1px" 
      ShowFooter="false" EmptyDataText="没有数据记录！！" AllowSorting="True" >
        <Columns>
    
        <asp:BoundField HeaderText="公司名称" DataField="CompanyName" sortexpression="CompanyName" />
          <asp:BoundField HeaderText="联系人" DataField="Linker" sortexpression="Linker" />
         <asp:BoundField HeaderText="联系方式" DataField="LinkWay" sortexpression="LinkWay" />
            <asp:BoundField HeaderText="合作方式" DataField="PartnerWay" sortexpression="PartnerWay" />
        <asp:BoundField HeaderText="Email" DataField="Email" sortexpression="Email" />
          <asp:BoundField HeaderText="详细描述" DataField="Description"  ItemStyle-Wrap="true" ItemStyle-Width="300px" sortexpression="Description" />
        <asp:TemplateField ShowHeader="False" HeaderText="操作">
             <ItemTemplate>
              
           <a title=""  href="companyPartner.aspx?action=isprocess&amp;id=<%# Eval("id") %>" onClick="javascript:return confirm('你确定要设置为已处理吗?');"> <%# Eval("ProcessName") %></a>
             </ItemTemplate>
        </asp:TemplateField>
        </Columns>
             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />             
             <PagerStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" Font-Size=30px />
             <HeaderStyle BackColor="#E2E7EB" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
             <AlternatingRowStyle BackColor="White" />
             <PagerSettings Visible="False" />
        </asp:GridView>
     <table Width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td height="25" align="right" bgcolor="#E9ECEF"><asp:Label ID="LblRecordCount" runat="server"></asp:Label>
            <asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick" runat="server">首 页</asp:LinkButton> 
            <asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton> 
            <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton> 
            <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton> 
             跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>页&nbsp;
         </td>
       </tr>
    </table>

    </div>
    </form>
</body>
</html>
